//package com.woniu.commons.config;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import java.util.Properties;
//
//@Configuration
//public class MybatisConfig {
//
//    @Bean
//    public PageInterceptor pageInterceptor(){
//        PageInterceptor pageInterceptor = new PageInterceptor();
//        Properties properties = new Properties();
//        properties.setProperty("helperDialect","mysql");
//        pageInterceptor.setProperties(properties);
//        return pageInterceptor;
//    }
//}